package com.bj.jiufu.bsns.user.service.impl;

import javax.annotation.Resource;

import org.springframework.transaction.annotation.Transactional;

import com.bj.jiufu.bsns.user.dao.mapping.TJincaiUserDetailMapper;
import com.bj.jiufu.bsns.user.entity.TJincaiUserDetail;
import com.bj.jiufu.bsns.user.service.UserService;

public class UserServiceImpl implements UserService {
	
	@Resource
	private TJincaiUserDetailMapper tJincaiUserDetailMapper;
	
	@Transactional 
	public TJincaiUserDetail login() {
		
		TJincaiUserDetail t = null;
		try {
			t = tJincaiUserDetailMapper.selectByPrimaryKey("123");
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return t;
	}

}
